package ccpv;

import java.util.ArrayList;

public class GroupRecord {
	int[] ascriptiveChar;
	int year = 0;
	int population = 0;
	ArrayList<Double> values = new ArrayList<Double>();
	
	public GroupRecord(int[] m_ascr, int m_year, int m_population, ArrayList<Double> m_values) {
		ascriptiveChar = new int[m_ascr.length];
		this.year = m_year;
		for(int i = 0; i<m_ascr.length; i++) {
			ascriptiveChar[i] = m_ascr[i];
		}
		population = m_population;
		for (Double d: m_values) {
			values.add(d);
		}
	}

	public GroupRecord(ArrayList<Integer> character, int m_year, int m_population,
			ArrayList<Double> m_values) {
		ascriptiveChar = new int[character.size()];
		for(int i = 0; i<character.size(); i++) {
			ascriptiveChar[i] = character.get(i);
		}
		population = m_population;
		for (Double d: m_values) {
			values.add(d);
		}
	}
}
